import { AxiosRequestConfig } from "axios";

/**
 * @description 定义interface规范返回结果的类型
 * @author fzl
 */
export interface IResultOr {
    code: string,
    success: boolean,
    message: string,
    result: any
}

// 房屋列表
export interface IRoomListParams extends AxiosRequestConfig {
    pageNo: number,
    pageSize: number,
    cityCode: string,
}

// 房屋详情
export interface IRoomDetailParams extends AxiosRequestConfig {
    id: number
}